﻿using DomainModel;
using FluentNHibernate.Mapping;

namespace Repository.NHibernate.Mapping
{
    public class MarkMap : ClassMap<Mark>
    {
        public MarkMap()
        {
            Id(x => x.Id).GeneratedBy.Native();
            Map(x => x.Mark1);
            Map(x => x.Mark2);
            Map(x => x.Mark3);
            Map(x => x.Mark4);
            Map(x => x.Mark5);
        }
    }
}